package com.ztgf.commodity.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import com.ztgf.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 商品规格关系表DTO
 * <p>
 * author chenyu.wang
 * Date 2020-05-27 10:59:08
 */
@Data
@TableName("commodity_specification_relation")
@ApiModel(value = "商品规格关系表对象", description = "商品规格关系表对象")
public class CommoditySpecificationRelationDTO extends BaseDTO implements Serializable {


    @ApiModelProperty(value = "商品id")
    private Long commodityId ;
    @ApiModelProperty(value = "属性ids")
    private String attrIds ;
    @ApiModelProperty(value = "税除以100率")
    private Integer taxRate ;
    @ApiModelProperty(value = "单价;不填，询价")
    private BigDecimal price ;
    @ApiModelProperty(value = "批发价;不填，询价")
    private BigDecimal wholesalePrice ;
    @ApiModelProperty(value = "库存")
    private Integer inventoryNumber ;
    @ApiModelProperty(value = "尺寸;长*宽*高")
    private String commoditySize ;
    @ApiModelProperty(value = "尺寸单位;0毫米、1厘米、2米")
    private Integer commoditySizeUnit ;
    @ApiModelProperty(value = "商品单位")
    private Long commodityUnit ;
    @ApiModelProperty(value = "库存预警")
    private Integer inventoryNumberWarning ;
    @ApiModelProperty(value = "起批数量")
    private Integer batchNumber ;
    @ApiModelProperty(value = "属性名称，以逗号隔开")
    private String atrrNames ;
    @ApiModelProperty(value = "原价")
    private BigDecimal originalPrice;
    @ApiModelProperty(value = "是否查看，0未查看，1已查看")
    private Integer isLook;
}